home *** CD-ROM | disk | FTP | other *** search
/ BlastDOS / pcANYWHERE 2.0.zip / Disk 1.IMA / UNINSTAL.IN$ / UNINSTAL.INF
INI File  |  1995-08-11  |  5KB  |  209 lines

  1. ; pcANYWHERE uninstall script
  2.  
  3. [InstallVersion]
  4. 3.3
  5.  
  6. [process]
  7. switch91 = IsWinVerGTE(0320)                ;switch91=TRUE if Win 4.0
  8.  
  9. SetActiveCopy(PCACopy, uninstal.inf)
  10. Bitmaps(pix)
  11. AllowIntlChars()
  12. backup(pcawinst)
  13.  
  14. FullUninstall()
  15. SourceDrive()
  16. Backup(SaveEm)
  17. messagebox(InformAboutBackup)
  18. switch85=Exists(CheckAuto)               ;check if autoexec.bat exists
  19. #if(switch85)                                 ;if so,
  20.     ModifyTextFile(Autoexec)         ;remove TSR from autoexec.bat
  21. #endif
  22. RemoveFromLoad(RemHost)             ;remove winhost.exe from win.ini
  23. DelFromIni(AWVXDS)                  ;remove pcAW's VxDs
  24.  
  25. DisableUtils()
  26. UnCopy()
  27. groups()                            ;remove group
  28. EnableUtils()
  29.  
  30.  
  31. Delete(CreatedFiles)                ;remove files created by the program
  32. RemoveFiles(ConfigFiles)            ;remove configuration files
  33. Delete(BackupFiles)                 ;remove backed up system files
  34.  
  35. Delete(Installation)
  36. CallProc(RemoveDir)
  37. Delete(Leftovers)
  38. Delete(AWDrivers)
  39. Delete(PcawIni)
  40.  
  41. #if(switch91)
  42.     EndRebootOnly(ByeRestart)
  43. #else
  44.     End(bye)
  45. #endif
  46. End()
  47.  
  48.  
  49. ;-----------------------------------------------------------------------
  50. ; Copy
  51. ;-----------------------------------------------------------------------
  52.  
  53. [PCACopy]
  54. CopyMain.BaseFiles, "pcANYWHERE - %ldK ",    100, Y, N, Y
  55.  
  56. ;-----------------------------------------------------------------------
  57. ; Delete.
  58. ;-----------------------------------------------------------------------
  59.  
  60. [Installation]
  61. INSTALL.EXE,      SOURCE
  62. INSTBIN.EXE,      SOURCE
  63. SIWDLL.DLL,       SOURCE
  64. SIWZIP.DLL,       SOURCE
  65. SIW3ZIP.DLL,      SOURCE
  66. SYMINSTL.HLP,     SOURCE
  67. UNINSTAL.INF,     SOURCE
  68. NETUSER.INF,      SOURCE
  69. AWINST.DLL,       SOURCE
  70. WINAW.BMP,        SOURCE
  71.  
  72. [CreatedFiles]
  73. AWEDIT.BPT,       SOURCE
  74. AWEDIT.INI,       SOURCE
  75. PCAWUSER.LIC,     SOURCE
  76. AW.SWP,           SOURCE
  77. SCRIPT.$$$,         SOURCE
  78.  
  79. [BackupFiles]
  80. SYSTEM.INI,       SOURCE
  81. WIN.INI,          SOURCE
  82. AUTOEXEC.BAT,     SOURCE
  83.  
  84. [ConfigFiles]
  85. aw*.??6
  86. aw*.bin
  87. aw*.ini
  88.  
  89. [Leftovers]
  90. AWINST.DLL,       WINDOWS
  91. AWLPFUNC.DLL,     SYSTEM
  92. DISKS.INF,            SOURCE
  93. AW.EDT,                SOURCE
  94. PIPEDLG.DAT,        SOURCE
  95. MODEM.ID,            SOURCE
  96. $FLECOMP.TMP,        SOURCE
  97.  
  98. [AWDrivers]
  99. AWDOS.386,        SYSTEM
  100. AWDSP.DLL,            SYSTEM
  101. AW_VCD.386,            SYSTEM
  102. VPCAW.386,        SYSTEM
  103.  
  104. ;-----------------------------------------------------------------------
  105. ; Groups.
  106. ;-----------------------------------------------------------------------
  107. [groups]
  108. "pcANYWHERE",       winaw.grp
  109.  
  110. [pcANYWHERE]
  111. "pcAnywhere for Windows",winaw.exe,        BaseFiles
  112. "Remove pcAnywhere",     "install.exe /u", BaseFiles
  113. "Release Notes",        readme.txt, BaseFiles
  114.  
  115. ;-----------------------------------------------------------------------
  116. ; Dialog Boxes.
  117. ;-----------------------------------------------------------------------
  118. [bye]
  119. caption = "pcANYWHERE -- Uninstall Complete"
  120. "This concludes the removal of pcANYWHERE for Windows."
  121. " "
  122. "Please select one of the exit options."
  123. " "
  124.  
  125. [ByeRestart]
  126. caption = "pcANYWHERE -- Uninstall Complete"
  127. "This concludes the removal of pcANYWHERE for Windows."
  128. " "
  129.  
  130. [InformAboutBackup]
  131. caption = "Startup Files"
  132. "Your startup files from before the installation of pcANYWHERE have been placed in their original directories for your reference, with the extension .PCA."
  133. " "
  134. "The original startup files have a .PCA extension."
  135.  
  136. [SourceDrive]
  137. caption = "Remove pcANYWHERE Files From..."
  138. defpath = c:\winaw
  139.  
  140. [errors]
  141. noprev  = "Symantec Install for Windows is already running!"
  142.  
  143. [cancel]
  144. caption = "pcANYWHERE"
  145. text     = "Are you sure you want to exit?"
  146.  
  147. [cancelshell]
  148. caption = "pcANYWHERE"
  149. text     = "Are you sure you want to exit?"
  150.  
  151. ;-----------------------------------------------------------------------
  152. ; Backups.
  153. ;-----------------------------------------------------------------------
  154. [SaveEm]
  155. system.ini, system.pca, source, WINDOWS
  156. win.ini, win.pca, source, WINDOWS
  157. autoexec.bat, c:\autoexec.pca, source, dummy
  158.  
  159. [pcawinst]
  160. awinst.dll, awinst.dll, SOURCE, WINDOWS
  161.  
  162. ;-----------------------------------------------------------------------
  163. ; Ini Modifications.
  164. ;-----------------------------------------------------------------------
  165.  
  166. [AWVXDS]
  167. IniName = system.ini
  168. SectionName = 386Enh
  169. device=*vpcaw.386*
  170. device=*awdos.386*
  171.  
  172. [PcawIni]
  173. pcaw.ini, windows
  174.  
  175. [pix]
  176. color = %s\winaw.bmp
  177.  
  178. ;-----------------------------------------------------------------------
  179. ; Autoexec
  180. ;-----------------------------------------------------------------------
  181. [autoexec]
  182. caption     = "pcANYWHERE -- Modify AUTOEXEC.BAT File"
  183. text1     = "The following line(s) need to be removed from your autoexec.bat file:"
  184. FileSpec   = c:\autoexec.bat
  185. filetype = autoexec
  186. Rem1 = "rem"
  187. EditCaption = "Edit AUTOEXEC.BAT File"
  188. EditText = "Make changes to the file as desired.  When complete, press FINISH.  To cancel all current and previous edits, press CANCEL EDIT."
  189. AddPath     =
  190. DelItems   = AutoexecDelItems
  191. AddItems   =
  192.  
  193. [AutoexecDelItems]
  194. *awhost*
  195.  
  196. ;-----------------------------------------------------------------------
  197. ; Misc Uninstall Functions.
  198. ;-----------------------------------------------------------------------
  199. [RemHost]
  200. winhost.exe
  201.  
  202. [RemoveDir]
  203. dll    = awinst.dll
  204. function  = RemoveDir
  205. Directory = SOURCE
  206.  
  207. [CheckAuto]
  208. c:\autoexec.bat
  209.